#ifndef SYSCALLHANDLER_H
#define SYSCALLHANDLER_H

namespace crossbit {

    class ProcessorState;
    class MemoryImage;

    class SyscallHandler
    {
	public:
	    SyscallHandler(ProcessorState *state, MemoryImage *img)
					:sh_state(state), sh_img(img)
	    {}

	    virtual ~SyscallHandler() {}
	    virtual void operator () () {};

	protected:
		ProcessorState	*sh_state;
		MemoryImage		*sh_img;		
    };

}
#endif
